RegistryFactoryException.invalid(String algorithm, [Type? type]) : this( 'Algorithm name $algorithm is invalid${type != null ? ' of type $type' : ''}');