UNPKG

995 BSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/error/PrimaryColumnCannotBeNullableError.ts"],"names":[],"mappings":";;;AAAA;IAAwD,8DAAK;IAGzD,4CAAY,MAAc,EAAE,YAAoB;QAAhD,YACI,iBAAO,SAIV;QAPD,UAAI,GAAG,oCAAoC,CAAC;QAIxC,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,kCAAkC,CAAC,SAAS,CAAC,CAAC;QAC1E,KAAI,CAAC,OAAO,GAAG,oBAAwB,MAAM,CAAC,WAAY,CAAC,IAAI,SAAI,YAAY,0BAAuB;YAClG,kEAAkE,CAAC;;IAC3E,CAAC;IAEL,yCAAC;AAAD,CAVA,AAUC,CAVuD,KAAK,GAU5D;AAVY,gFAAkC","file":"PrimaryColumnCannotBeNullableError.js","sourcesContent":["export class PrimaryColumnCannotBeNullableError extends Error {\n name = \"PrimaryColumnCannotBeNullableError\";\n\n constructor(object: Object, propertyName: string) {\n super();\n Object.setPrototypeOf(this, PrimaryColumnCannotBeNullableError.prototype);\n this.message = `Primary column ${(<any>object.constructor).name}#${propertyName} cannot be nullable. ` +\n `Its not allowed for primary keys. Try to remove nullable option.`;\n }\n\n}"],"sourceRoot":".."}
\No newline at end of file