Skip to content

Commit e6f0152

Browse files
monktasticnumberoverzero
authored andcommitted
InvalidConfig has a reasonable __str__
1 parent 525605b commit e6f0152

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

oraclebmc/exceptions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def __init__(self, errors):
4646
""":param errors: {config key: error code}"""
4747
self.errors = errors
4848

49+
def __str__(self):
50+
return str(self.errors)
51+
4952

5053
class InvalidPrivateKey(ClientError):
5154
"""The provided key is not a private key, or the provided passphrase is incorrect."""

0 commit comments

Comments
 (0)