368
369
370
371
372
373
374
|
# File 'lib/jsonapi/exceptions.rb', line 368
def errors
[JSONAPI::Error.new(code: JSONAPI::LOCKED,
status: :locked,
title: I18n.translate('jsonapi-resources.exceptions.record_locked.title',
default: 'Locked resource'),
detail: "#{message}")]
end
|