wip: error handling

relates to: #48