Sha256: 8b22879cfee36c7dbc64d206a8bce6d4336023385839994879f888a39118c63c
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
o:$YARD::CodeObjects::MethodObject: @tags[ :@visibility:public:@signature"$def error!(message, status=403): @name:error!:@namespaceu:YARD::StubProxyGrape::Endpoint:@source"_def error!(message, status=403) throw :error, :message => message, :status => status end: @dynamicT:@docstring_extra0:@source_type: ruby:@docstringIC:YARD::Docstring"UEnd the request and display an error to the end user with the specified message.:@objectu; Grape::Endpoint#error!;[o:YARD::Tags::Tag ;u; Grape::Endpoint#error!:@tag_name" param; "message:@types["String: @text"The message to display.o; ;u; Grape::Endpoint#error!;" param; "status;["Integer;"+the HTTP Status Code. Defaults to 403.:@ref_tags[ : @summary0: @all[ "0End the request and display an error to the")end user with the specified message."