src/model.js
function resolve(name, raise = true) {
  var klass = (typeof name === 'function') ? name : subclasses[name];

  if (!klass && raise) {
    throw new Error(`Transis.Model.resolve: could not resolve subclass: \`${name}\``);
  }

  return klass;
}
function resolve(name, raise = true) {
  var klass = (typeof name === 'function') ? name : subclasses[name];

  if (!klass && raise) {
    throw new Error(`Transis.Model.resolve: could not resolve subclass: \`${name}\``);
  }

  return klass;
}
function resolve ( name , raise = true ) { var klass = ( typeof name === 'function' ) ? name : subclasses [ name ] ; if ( ! klass && raise ) { throw new Error ( ` \` ${ name } \` ` ) ; } return klass ; }
Internal: Returns the `Transis.Model` subclass with the given name.  name  - A string representing the name of a `Transis.Model` subclass. raise - A boolean indicating whether an exception should be raised if the name can't be resolved (default: `true`).  Returns the resolved subclass constructor function or `undefined` if a class with the given name is not known. Throws `Error` if the `raise` argument is `true` and the name cannot not be resolved.
Internal : Returns the Transis . Model subclass with the given name . name - A string representing the name of a Transis . Model subclass . raise - A boolean indicating whether an exception should be raised if the name can t be resolved ( default : true ) . Returns the resolved subclass constructor function or undefined if a class with the given name is not known . Throws Error if the raise argument is true and the name cannot not be resolved .