toJSON () {
        return {
            error: this.stack.toString(),
            processed: this.processed,
            message: this.message,
            level: this.level,
            uid: this.uid
        };
    }
/**
     * @desc Representation of error data in object format.
     * @example
     * let err = ErrorBase.create(message);
     * err.toJSON();
     * @returns {ErrorBase.toJSON}
     * @public
     */
@desc Representation of error data in object format.
@desc Representation of error data in object format .
toJSON () {
        return {
            error: this.stack.toString(),
            processed: this.processed,
            message: this.message,
            level: this.level,
            uid: this.uid
        };
    }
toJSON ( ) { return { error : this . stack . toString ( ) , processed : this . processed , message : this . message , level : this . level , uid : this . uid } ; }
@desc Representation of error data in object format.
@desc Representation of error data in object format .