|
|
|
@ -1,6 +1,10 @@
|
|
|
|
const CustomError = require('custom-error-instance')
|
|
|
|
const CustomError = require('custom-error-instance')
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
module.exports = {
|
|
|
|
|
|
|
|
AssetCreateFolderForbidden: CustomError('AssetCreateFolderForbidden', {
|
|
|
|
|
|
|
|
message: 'You are not authorized to create this folder.',
|
|
|
|
|
|
|
|
code: 2010
|
|
|
|
|
|
|
|
}),
|
|
|
|
AssetDeleteForbidden: CustomError('AssetDeleteForbidden', {
|
|
|
|
AssetDeleteForbidden: CustomError('AssetDeleteForbidden', {
|
|
|
|
message: 'You are not authorized to delete this asset.',
|
|
|
|
message: 'You are not authorized to delete this asset.',
|
|
|
|
code: 2003
|
|
|
|
code: 2003
|
|
|
|
|