Resource Machine

Error Handling

TODO: Describe the basic error handling