add an CurioError class