PermissionDeniedException
class PermissionDeniedException(sqlState: String, serverErrorMessage: ServerErrorMessage) : OctaviusException
Exception thrown when the current database user lacks the required privileges to execute a statement or access an object.
This exception can include optional metadata identifying the specific schema, table, column, datatype, or routine where the permission denial occurred, aiding in debugging access control issues.
Parameters
sqlState
The SQL state code returned by the database.
serverErrorMessage
The original error message from the database server.