This change ensures an exception isn't thrown because the exception class can't be found.
I you don't enter a time into the field and submit, an exception is thrown stating Class 'Laraning\NovaTimeField\Exception' not found. Importing the Exception class properly ensures the proper exception text is displayed and the proper exception is thrown.
This change ensures an exception isn't thrown because the exception class can't be found.
I you don't enter a time into the field and submit, an exception is thrown stating
Class 'Laraning\NovaTimeField\Exception' not found
. Importing the Exception class properly ensures the proper exception text is displayed and the proper exception is thrown.