Make `ErrorHandlerType` public.

Also CamelCase the name.