Moved error class declarations to dibi.error