\League\FactoryMuffin\ExceptionsSaveFailedException

This is the save failed exception class.

This is thrown when the save method of a model does not equal true in a loose comparison. This class extends ModelException, so you may want to try to catch that exception instead, if you want to be more general.

Summary

Methods
Properties
Constants
__construct()
getModel()
getErrors()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$model
$errors
N/A

Properties

$model

$model : string

The model.

Type

string

$errors

$errors : string

The errors.

Type

string

Methods

__construct()

__construct(string  $model, string|null  $errors = null, string|null  $message = null) : void

Create a new instance.

Parameters

string $model
string|null $errors
string|null $message

getModel()

getModel() : string

Get the model.

Returns

string

getErrors()

getErrors() : string

Get the errors.

Returns

string