KAA-217: Add error handlers to profile module