Class ErrorHandlers


  • public class ErrorHandlers
    extends java.lang.Object
    A set of consumers to handle errors for requests for table entities or for namespace entities, to throw the correct exception.
    • Method Detail

      • namespaceErrorHandler

        public static java.util.function.Consumer<ErrorResponse> namespaceErrorHandler()
      • tableErrorHandler

        public static java.util.function.Consumer<ErrorResponse> tableErrorHandler()
      • tableCommitHandler

        public static java.util.function.Consumer<ErrorResponse> tableCommitHandler()
      • defaultErrorHandler

        public static java.util.function.Consumer<ErrorResponse> defaultErrorHandler()
      • oauthErrorHandler

        public static java.util.function.Consumer<ErrorResponse> oauthErrorHandler()