Added 'enum Error'