add nova
This commit is contained in:
20
nova/src/Exceptions/MissingActionHandlerException.php
Normal file
20
nova/src/Exceptions/MissingActionHandlerException.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Laravel\Nova\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class MissingActionHandlerException extends Exception
|
||||
{
|
||||
/**
|
||||
* Create a new exception instance.
|
||||
*
|
||||
* @param mixed $action
|
||||
* @param string $method
|
||||
* @return static
|
||||
*/
|
||||
public static function make($action, $method)
|
||||
{
|
||||
return new static('Action handler ['.get_class($action).'@'.$method.'] not defined.');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user