CustomError.inherit(): the argument construct + parameters as a single argument