Implement a default event handler error/3
callback function with optional support for retrying failed events before eventually skipping it.
defmodule MyApp.ExampleHandler do
use Commanded.Event.Handler, name: __MODULE__
use Commanded.Event.DefaultErrorHandling, retries: 3
end