Error reporting in mocml