The type of the function that generates a new instance of AppError. This is exported to make it easy to type the dependency injection.
The type of the function that generates a new instance of AppError. This is exported to make it easy to type the dependency injection.