@@ -134,6 +134,7 @@ const ERR_INVALID_COLL_INDEX_GET = 132;
134
134
const ERR_DELETE_ELEMENTS_OF_VARRAY = 133 ;
135
135
const ERR_WRONG_VALUE_FOR_DBOBJECT_ATTR = 134 ;
136
136
const ERR_WRONG_VALUE_FOR_DBOBJECT_ELEM = 135 ;
137
+ const ERR_WRONG_CRED_FOR_EXTAUTH = 136 ;
137
138
138
139
// Oracle Net layer errors start from 500
139
140
const ERR_CONNECTION_CLOSED = 500 ;
@@ -387,6 +388,8 @@ messages.set(ERR_WRONG_VALUE_FOR_DBOBJECT_ATTR, // NJS-134
387
388
'value is of wrong type for attribute %s of object %s' ) ;
388
389
messages . set ( ERR_WRONG_VALUE_FOR_DBOBJECT_ELEM , // NJS-135
389
390
'value is of wrong type for an element of object %s' ) ;
391
+ messages . set ( ERR_WRONG_CRED_FOR_EXTAUTH , // NJS-136
392
+ 'user name and password cannot be set when using external authentication' ) ;
390
393
391
394
// Oracle Net layer errors
392
395
@@ -755,6 +758,7 @@ module.exports = {
755
758
ERR_DELETE_ELEMENTS_OF_VARRAY ,
756
759
ERR_WRONG_VALUE_FOR_DBOBJECT_ATTR ,
757
760
ERR_WRONG_VALUE_FOR_DBOBJECT_ELEM ,
761
+ ERR_WRONG_CRED_FOR_EXTAUTH ,
758
762
ERR_CONNECTION_CLOSED_CODE : `${ ERR_PREFIX } -${ ERR_CONNECTION_CLOSED } ` ,
759
763
assert,
760
764
assertArgCount,
0 commit comments