Move show error code to own method on vc's