readme: add error handling

Signed-off-by: Oleg Verych <olecom@gmail.com>