Simple error handling primitives
