errors.js
function Locked(message, code_id) {
    Error.call(this);
    this.message = message || "resource is locked"
    this.code_id = code_id || null;
    this.statusCode = 423;
}
function Locked(message, code_id) {
    Error.call(this);
    this.message = message || "resource is locked"
    this.code_id = code_id || null;
    this.statusCode = 423;
}
function Locked ( message , code_id ) { Error . call ( this ) ; this . message = message || "resource is locked" this . code_id = code_id || null ; this . statusCode = 423 ; }
Resource is Locked
Resource is Locked