Make error types mandatory