new Error()
GPF Error class
- Since:
-
- 0.1.5
Classes
- AbstractClass
- AbstractMethod
- AssertionFailed
- ClassAttributeOnly
- ClassConstructorFunction
- Es6classOnly
- IncompatibleStream
- InterfaceExpected
- InvalidAttributesSpecification
- InvalidClass$AbstractSpecification
- InvalidClass$SingletonSpecification
- InvalidClassConstructor
- InvalidClassExtend
- InvalidClassName
- InvalidClassOverride
- InvalidClassProperty
- InvalidClassSuper
- InvalidClassSuperMember
- InvalidCSV
- InvalidEntity$Property
- InvalidEntityNamespace
- InvalidEntityType
- InvalidInterfaceName
- InvalidInterfaceProperty
- InvalidParameter
- InvalidRequireConfigureOption
- InvalidRequireConfigureOptionValue
- InvalidSerialName
- InvalidSerialReadOnly
- InvalidSerialRequired
- InvalidSerialType
- InvalidStreamState
- InvalidXmlAttributeName
- InvalidXmlElementName
- InvalidXmlNamespacePrefix
- InvalidXmlUseOfPrefixXml
- InvalidXmlUseOfPrefixXmlns
- InvalidXmlWriterState
- MemberAttributeOnly
- MissingEntityName
- MissingNodeName
- NoCommonJSDynamicRequire
- NotImplemented
- PathNotExplorable
- ReadInProgress
- RestrictedBaseClassAttribute
- UnableToUseNamespaceInString
- UniqueAttributeUsedTwice
- UnknownAttributesSpecification
- UnknownNamespacePrefix
- UnknownXmlNamespacePrefix
- UnreachablePath
- WriteInProgress
Members
-
<readonly> code :Number
-
Error code
Type:
- Number
- Since:
-
- 0.1.5
-
<readonly> message :String
-
Error message
Type:
- String
- Since:
-
- 0.1.5
-
<readonly> name :String
-
Error name
Type:
- String
- Since:
-
- 0.1.5
Methods
-
<static> abstractClass()
-
throw gpf.Error.AbstractClass
Throws:
-
<static> abstractMethod()
-
throw gpf.Error.AbstractMethod
Throws:
-
<static> assertionFailed(context)
-
Parameters:
Name Type Description context
Object Dictionary of parameters used to format the message, must contain
- {String} message
Throws:
-
<static> classAttributeOnly()
-
Throws:
-
<static> classConstructorFunction()
-
Throws:
-
<static> es6classOnly()
-
throw gpf.Error.Es6classOnly
Throws:
-
<static> incompatibleStream()
-
Throws:
-
<static> interfaceExpected(context)
-
Parameters:
Name Type Description context
Object Dictionary of parameters used to format the message, must contain
- {String} name
Throws:
-
<static> invalidAttributesSpecification()
-
Throws:
-
<static> invalidClass$AbstractSpecification()
-
Throws:
-
<static> invalidClass$SingletonSpecification()
-
Throws:
-
<static> invalidClassConstructor()
-
Throws:
-
<static> invalidClassExtend()
-
Throws:
-
<static> invalidClassName()
-
Throws:
-
<static> invalidClassOverride()
-
Throws:
-
<static> invalidClassProperty()
-
Throws:
-
<static> invalidClassSuper()
-
Throws:
-
<static> invalidClassSuperMember()
-
Throws:
-
<static> invalidCSV()
-
throw gpf.Error.InvalidCSV
Throws:
-
<static> invalidEntity$Property()
-
Throws:
-
<static> invalidEntityNamespace()
-
Throws:
-
<static> invalidEntityType()
-
Throws:
-
<static> invalidInterfaceName()
-
Throws:
-
<static> invalidInterfaceProperty()
-
Throws:
-
<static> invalidParameter()
-
Throws:
-
<static> invalidRequireConfigureOption()
-
Throws:
-
<static> invalidRequireConfigureOptionValue()
-
Throws:
-
<static> invalidSerialName()
-
Throws:
-
<static> invalidSerialReadOnly()
-
Throws:
-
<static> invalidSerialRequired()
-
Throws:
-
<static> invalidSerialType()
-
Throws:
-
<static> invalidStreamState()
-
Throws:
-
<static> invalidXmlAttributeName()
-
Throws:
-
<static> invalidXmlElementName()
-
Throws:
-
<static> invalidXmlNamespacePrefix()
-
Throws:
-
<static> invalidXmlUseOfPrefixXml()
-
Throws:
-
<static> invalidXmlUseOfPrefixXmlns()
-
Throws:
-
<static> invalidXmlWriterState()
-
Throws:
-
<static> memberAttributeOnly()
-
Throws:
-
<static> missingEntityName()
-
Throws:
-
<static> missingNodeName()
-
Throws:
-
<static> noCommonJSDynamicRequire()
-
Throws:
-
<static> notImplemented()
-
throw gpf.Error.NotImplemented
Throws:
-
<static> pathNotExplorable()
-
Throws:
-
<static> readInProgress()
-
throw gpf.Error.ReadInProgress
Throws:
-
<static> restrictedBaseClassAttribute()
-
Throws:
-
<static> unableToUseNamespaceInString()
-
Throws:
-
<static> uniqueAttributeUsedTwice()
-
Throws:
-
<static> unknownAttributesSpecification()
-
Throws:
-
<static> unknownNamespacePrefix()
-
Throws:
-
<static> unknownXmlNamespacePrefix()
-
Throws:
-
<static> unreachablePath()
-
Throws:
-
<static> writeInProgress()
-
Throws: