merge the three methods of error into a single method
#60878
Merged
Loading
error into a single method
#60878