Home Reference Source
import {NotFoundError} from 'Neo4Jay/lib/errors.js'
public class | source

NotFoundError

Extends:

Error → NotFoundError

NotFoundError extends Error

Example:

throw new NotFoundError('User');

Constructor Summary

Public Constructor
public

constructor(entity: string)

NotFoundError constructor.

Member Summary

Public Members
public

message: *

Public Constructors

public constructor(entity: string) source

NotFoundError constructor.

Params:

NameTypeAttributeDescription
entity string

The name of the entity that could not be found.

Public Members

public message: * source