mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-10 12:28:34 +03:00
20 lines
375 B
JavaScript
20 lines
375 B
JavaScript
import copy from '../copy/en'
|
|
|
|
export function modelLayerGeneric (parts) {
|
|
return new Error(copy.errors.modelLayer(parts))
|
|
}
|
|
|
|
export function noFragment (parts) {
|
|
return new Error(copy.errors.noFragment(parts))
|
|
}
|
|
|
|
export function noResource (parts) {
|
|
return new Error(copy.errors.noResource(parts))
|
|
}
|
|
|
|
export default {
|
|
modelLayerGeneric,
|
|
noFragment,
|
|
noResource
|
|
}
|