-record(handler, { task_name :: binary(), execute :: fun((gabsurd@context:context()) -> gabsurd@worker:handler_result()), on_error :: gleam@option:option(fun((gabsurd@context:context(), gleam@json:json()) -> nil)) }).