Moved the definition of error types from BlockML to respective files.