fix(shared): fix error/api visibility
feat(shared): impl most previous api errors Signed-off-by: Jonni Liljamo <jonni@liljamo.com>