Skip to content

Commit 91406c6

Browse files
Adjust error to make it clear that the password verifier type is not
supported in thin mode.
1 parent 63a3854 commit 91406c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/oracledb/errors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@ def _raise_from_string(exc_type: Exception, message: str) -> None:
439439
ERR_UNSUPPORTED_VAR_SET:
440440
'variable of type {db_type_name} does not support being set',
441441
ERR_UNSUPPORTED_VERIFIER_TYPE:
442-
'unsupported password verifier type: 0x{verifier_type:x}',
442+
'password verifier type 0x{verifier_type:x} is not supported by '
443+
'python-oracledb in thin mode',
443444
ERR_WALLET_FILE_MISSING:
444445
'cannot connect to database. Wallet file {name} was not found',
445446
ERR_WRONG_ARRAY_DEFINITION:

0 commit comments

Comments
 (0)