nitc :: ErrorBadGraphFormat :: _allowed_formats
Allowed formatsnitc :: ErrorBadGraphFormat :: allowed_formats=
Allowed formatsnitc $ ErrorBadGraphFormat :: SELF
Type of this instance, automatically specialized in every classnitc :: ErrorBadGraphFormat :: _allowed_formats
Allowed formatsnitc :: CmdError :: _http_status_code
nitc :: CmdMessage :: _http_status_code
HTTP code to return for this messagenitc :: ErrorBadGraphFormat :: allowed_formats=
Allowed formatscore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: CmdError :: defaultinit
nitc :: CmdMessage :: defaultinit
core :: Object :: defaultinit
nitc :: CmdMessage :: http_status_code
HTTP code to return for this messagenitc :: CmdMessage :: http_status_code=
HTTP code to return for this messagecore :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).nitc :: CmdMessage :: print_message
nitc :: CmdMessage :: to_json
Return a JSON Serializable representation ofself
# Bad graph format requested
class ErrorBadGraphFormat
super CmdError
# Provided format
var format: String
# Allowed formats
var allowed_formats: Array[String]
redef fun to_s do
var allowed_values = new Buffer
for allowed in allowed_formats do
allowed_values.append "`{allowed}`"
if allowed != allowed_formats.last then
allowed_values.append ", "
end
end
return "Bad format `{format}`. Allowed values are {allowed_values.write_to_string}."
end
end
src/doc/commands/commands_graph.nit:68,1--88,3