UNPKG

@melchyore/adonis-auto-preload

Version:

Auto-preload multiple relationships when retrieving Lucid models

10 lines (9 loc) 385 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@poppinss/utils"); class WrongArgumentTypeException extends utils_1.Exception { static invoke(method) { return new this(`The method ${method} accepts only an array of strings`, 500, 'E_WRONG_ARGUMENT_TYPE'); } } exports.default = WrongArgumentTypeException;