API docs + imporved error handling