The top level Ash namespace. All access to Ash classes is through this object

Show:

Adapter

Adapter public

Defined in src/index.js:127

Application

Application public

Defined in src/index.js:72

ErrorHandler

ErrorHandler public

Defined in src/index.js:109

HttpError

HttpError public

Defined in src/index.js:90

This error should be used to throw Http related errors


  throw new Ash.HttpError(404)
  

An optional message can be given


  throw new Ash.HttpError(404, 'Nothing was found, sorry about that.')
  

Initializer

Initializer public

Defined in src/index.js:84

log

Object public

Defined in src/index.js:56

Instance of the Ash logger. Should be use throughout to log as needed.

Has the following methods:

  • log.error
  • log.info
  • log.trace
  • log.warn
  • log.debug
  • log.fatal

Middleware

Middleware public

Defined in src/index.js:44

MiddlewareRouter

MiddlewareRouter public

Defined in src/index.js:50

Mixin

Mixin public

Defined in src/index.js:78

Model

Model public

Defined in src/index.js:121

Route

Route public

Defined in src/index.js:32

Router

Router public

Defined in src/index.js:38

Serializer

Serializer public

Defined in src/index.js:133

Service

Service public

Defined in src/index.js:115