Should this perhaps extend ``AppError``?