Axinom Mosaic Libraries
    Preparing search index...
    MosaicErrors: {
        AssertionFailed: {
            code: "ASSERTION_FAILED";
            message: "The assertion check for the identifier %s failed.";
        };
        DatabaseLockTimeoutError: {
            code: "DATABASE_LOCK_TIMEOUT_ERROR";
            details: {
                hint: "It is possible that you executed a GraphQL Mutation with multiple operations. Some operations are designed to only work in isolation. If this was the case - please try to execute the operations separately.";
            };
            message: "A database operation has failed because of a lock timeout.";
        };
        DatabasePermissionsCheckFailed: {
            code: "DATABASE_PERMISSIONS_CHECK_FAILED";
            message: "An authorization database error has occurred. The user might not have enough permissions.";
        };
        DatabaseValidationFailed: {
            code: "DATABASE_VALIDATION_FAILED";
            message: "An expected and handled database constraint error has occurred. The actual message will have more information.";
        };
        ErrorWrapper: {
            code: "ERROR_WRAPPER";
            message: "This is a wrapper error for the original unhandled error of unsupported type.";
        };
        GraphQLValidationFailed: {
            code: "GRAPHQL_VALIDATION_FAILED";
            message: "A GraphQL validation error has occurred. Please make sure that the GraphQL request is made with correct syntax or parameters.";
        };
        InternalServerError: {
            code: "INTERNAL_SERVER_ERROR";
            message: "An unhandled and unexpected error has occurred. Please contact the service support.";
        };
        ObjectIsMissingProperties: {
            code: "OBJECT_IS_MISSING_PROPERTIES";
            message: "The %s is missing required properties: %s.";
        };
        StartupError: {
            code: "STARTUP_ERROR";
            message: "An application startup error has occurred. The actual message will have more information.";
        };
        UnexpectedNullUndefined: {
            code: "UNEXPECTED_NULL_UNDEFINED";
            message: "Unexpected null or undefined value received.";
        };
        UnhandledDatabaseError: {
            code: "UNHANDLED_DATABASE_ERROR";
            message: "An unhandled database-related error has occurred. Please contact the service support.";
        };
        UnhandledError: {
            code: "UNHANDLED_ERROR";
            message: "An unhandled error has occurred. Please contact the service support.";
        };
        UniqueConstraintError: {
            code: "UNIQUE_CONSTRAINT_ERROR";
            message: "Attempt to create or update an element failed, as it would have resulted in a duplicate element.";
        };
        ValueIsNotObject: {
            code: "VALUE_IS_NOT_OBJECT";
            message: "The %s is not an object.";
        };
    } = ...

    An enum-like object containing default mosaic error codes and related messages. Messages are mostly informational, and Errors with these codes will have more concrete messages.

    Type Declaration

    • ReadonlyAssertionFailed: {
          code: "ASSERTION_FAILED";
          message: "The assertion check for the identifier %s failed.";
      }
    • ReadonlyDatabaseLockTimeoutError: {
          code: "DATABASE_LOCK_TIMEOUT_ERROR";
          details: {
              hint: "It is possible that you executed a GraphQL Mutation with multiple operations. Some operations are designed to only work in isolation. If this was the case - please try to execute the operations separately.";
          };
          message: "A database operation has failed because of a lock timeout.";
      }
    • ReadonlyDatabasePermissionsCheckFailed: {
          code: "DATABASE_PERMISSIONS_CHECK_FAILED";
          message: "An authorization database error has occurred. The user might not have enough permissions.";
      }
    • ReadonlyDatabaseValidationFailed: {
          code: "DATABASE_VALIDATION_FAILED";
          message: "An expected and handled database constraint error has occurred. The actual message will have more information.";
      }
    • ReadonlyErrorWrapper: {
          code: "ERROR_WRAPPER";
          message: "This is a wrapper error for the original unhandled error of unsupported type.";
      }
    • ReadonlyGraphQLValidationFailed: {
          code: "GRAPHQL_VALIDATION_FAILED";
          message: "A GraphQL validation error has occurred. Please make sure that the GraphQL request is made with correct syntax or parameters.";
      }
    • ReadonlyInternalServerError: {
          code: "INTERNAL_SERVER_ERROR";
          message: "An unhandled and unexpected error has occurred. Please contact the service support.";
      }
    • ReadonlyObjectIsMissingProperties: {
          code: "OBJECT_IS_MISSING_PROPERTIES";
          message: "The %s is missing required properties: %s.";
      }
    • ReadonlyStartupError: {
          code: "STARTUP_ERROR";
          message: "An application startup error has occurred. The actual message will have more information.";
      }
    • ReadonlyUnexpectedNullUndefined: {
          code: "UNEXPECTED_NULL_UNDEFINED";
          message: "Unexpected null or undefined value received.";
      }
    • ReadonlyUnhandledDatabaseError: {
          code: "UNHANDLED_DATABASE_ERROR";
          message: "An unhandled database-related error has occurred. Please contact the service support.";
      }
    • ReadonlyUnhandledError: {
          code: "UNHANDLED_ERROR";
          message: "An unhandled error has occurred. Please contact the service support.";
      }
    • ReadonlyUniqueConstraintError: {
          code: "UNIQUE_CONSTRAINT_ERROR";
          message: "Attempt to create or update an element failed, as it would have resulted in a duplicate element.";
      }
    • ReadonlyValueIsNotObject: { code: "VALUE_IS_NOT_OBJECT"; message: "The %s is not an object." }