Skip to content

@nhtio/web-re-active-record/errors

Errors used by the Reactive Active Record ORM

Classes

ClassDescription
InvalidReactiveDatabaseOptionsErrorThrow by ReactiveDatabase when the options provided to the ReactiveDatabase are invalid.
MissingGlueExceptionThrow when trying to create a *Through relationship with no intermediate relationships defined
MissingModelExceptionThrow when trying to boot relationships for models which do not exist
MissingReactiveModelRecordErrorThrow by ReactiveModel when using findOrFail or findByOrFail methods and no matching instance is found.
NoReactiveModelRecordErrorThrow by ReactiveModel when using firstOrFailand no matching instances are found.
QueryBuilderUnreffedExceptionThrow when trying to execute a query on a query builder from a ReactiveDatabase which has been shut down
ReactiveDatabaseInitializationExceptionThrow by ReactiveDatabase when an error occurs while initializing the database.
ReactiveDatabaseNoSuchModelExceptionThrow by ReactiveDatabase when a non-existent model is requested.
ReactiveModelCannotOverridePrimaryKeyExceptionThrow by ReactiveModel when attempting to override the primary key of a model instance
ReactiveModelDeletedExceptionThrow by ReactiveModel when trying to update a property on a deleted model instance.
ReactiveModelFailedConstraintsExceptionThrow by ReactiveModel when trying to save a model instance with values which do not match the constraints.
ReactiveModelNoSuchPropertyExceptionThrow by ReactiveModel when attempting to set the value of a property that does not exist on the model.
ReactiveModelQueryExceptionThrow by ReactiveModel when an error occurs while performing a database operation.
ReactiveModelUnacceptableValueExceptionThrow by ReactiveModel when attempting to set the value of a property to a value which cannot be serialized.
ReactiveModelUncreatableExceptionThrow by ReactiveModel when an some properties are missing during a creation operation.
ReactiveModelUnsubscribableExceptionThrow by ReactiveModel when trying to subscribe to events on a model instance which is deleted.
ReactiveQueryBuilderClauseTooComplexErrorThrow by ReactiveQueryBuilder when trying to append a clause to the query builder which is too complex (mixing and and or clauses).
ReactiveQueryBuilderInvalidWhereOperationExceptionThrow by ReactiveQueryBuilder when trying to append a clause to the query builder which is not a valid where operation.
ReactiveQueryBuilderNotBetweenableExceptionThrow by ReactiveQueryBuilder when trying to append a clause to the query builder with an unbetweenable value in an inable comparison.
ReactiveQueryBuilderNotInnableExceptionThrow by ReactiveQueryBuilder when trying to append a clause to the query builder with an uninable value in an inable comparison.
ReactiveQueryBuilderNotLikeableExceptionThrow by ReactiveQueryBuilder when trying to append a clause to the query builder with an unlikable value in a like comparison.
ReactiveQueryBuilderNotQuantitivlyComparableValueExceptionThrow by ReactiveQueryBuilder when trying to append a clause to the query builder which is not a valid where operation.
ReactiveQueryResponseOperationExceptionBase class for all ReActiveRecord errors.
ReactiveQueryResponsePendingValueExceptionBase class for all ReActiveRecord errors.
ReActiveRecordErrorBase class for all ReActiveRecord errors.
ReActiveRecordValidationErrorBase class for all ReActiveRecord validation errors.
RelationshipCannotOverridePropertyExceptionThrow when trying to create a relationship on a model's property
RelationshipNotBootedExceptionThrow when trying to prepare a relationship which has not been booted first
ShutdownDatabaseExceptionThrow when trying to execute static methods on a model from a ReactiveDatabase which has been shut down
UnpreparedRelationshipExceptionThrow when trying to access the related model instance which has not been prepared first

Interfaces

InterfaceDescription
ExtendedReActiveRecordValidationErrorConstructorA utility type for the constructor of an error which extends ReActiveRecordValidationError.
ReActiveRecordErrorOptionsDescribes the options for the ReActiveRecordError class.