Introduced shorter functions for Errors class