 
 
-colors = require 'colors/safe'
+colors  = require 'colors/safe'
+util    = require 'util'
 
 colors.setTheme
   silly     : 'rainbow',

        url = DOCS[subject]
    return new Error("#{ colors.error(message) } See: #{ colors.underline(colors.help(url)) }\n")

SDKError.colors = colors
module.exports = SDKError
  error     : 'red'


MAIN = 'http://docs.marquee.by/marquee-static-sdk/'

DOCS =
    main            : MAIN
    configuration   : "#{ MAIN }configuration/"
    tokens          : "#{ MAIN }tokens/"
    emitFile        : "#{ MAIN }emitFile/"
    files           : "#{ MAIN }files/"
    api:
        404: "#{ MAIN }api/not-found/"
        401: "#{ MAIN }api/unauthorized/"
        403: "#{ MAIN }api/forbidden/"
        toString: -> "#{ MAIN }api/"




SDKError = (subject, message, code=null) ->
    if arguments.length is 1
