Add FitsScaleError class for catching the error representing the scale
Used FitsScaleError to catch the error