first implementation of backend error handling. close #62