Class SqlAccessControlError

java.lang.Object
dev.frostlake.executor.SqlAccessControlError

public final class SqlAccessControlError extends Object
How Snowflake lays out an access-control refusal: "SQL access control error:", a newline, then the detail — the same two-line layout SqlCompilationError documents for compilation errors. Live-verified on a real account: dropping an INFORMATION_SCHEMA view (under DROP VIEW or DROP TABLE alike — the object is found before any kind check) answers SQL access control error:\nInsufficient privileges to operate on view 'TABLES'..
  • Field Details

  • Method Details

    • insufficientPrivileges

      public static String insufficientPrivileges(String objectKind, String objectName)
      The refusal for an operation the session may not perform on an object it can see.