Error notifications on create pages

How can I show a simple error notification when creating a resources fails? I see there is a getCreatedNotification but I don't see an equivalent for an error state.
Solution
$record isn't available on create. You should use $state, $get or $livewire->data
Was this page helpful?