Mention Error class as dependency