1 line
9.7 KiB
JSON
1 line
9.7 KiB
JSON
{"identifier":{"url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"relationshipsSections":[{"title":"Conforms To","kind":"relationships","type":"conformsTo","identifiers":["doc:\/\/MarvelService\/Se","doc:\/\/MarvelService\/SE","doc:\/\/MarvelService\/SQ","doc:\/\/MarvelService\/SH","doc:\/\/MarvelService\/s8SendableP","doc:\/\/MarvelService\/s16SendableMetatypeP"]}],"topicSections":[{"title":"Initializers","generated":true,"anchor":"Initializers","identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/init(code:reason:)","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/init(from:)"]},{"title":"Instance Properties","generated":true,"anchor":"Instance-Properties","identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/code","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/reason"]},{"title":"Enumerations","generated":true,"anchor":"Enumerations","identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/CodingKeys"]},{"title":"Default Implementations","generated":true,"anchor":"Default-Implementations","identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/Equatable-Implementations"]}],"hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Components","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas"]]},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"StandardError","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]},{"content":[{"level":2,"text":"Overview","type":"heading","anchor":"overview"},{"content":[{"inlineContent":[{"type":"text","text":"Generated from "},{"type":"codeVoice","code":"#\/components\/schemas\/StandardError"},{"type":"text","text":"."}],"type":"paragraph"}],"type":"aside","style":"note","name":"Remark"}],"kind":"content"}],"metadata":{"symbolKind":"struct","externalID":"s:13MarvelService10ComponentsO7SchemasO13StandardErrorV","modules":[{"name":"MarvelService"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"StandardError","kind":"identifier"}],"title":"Components.Schemas.StandardError","role":"symbol","navigatorTitle":[{"text":"StandardError","kind":"identifier"}],"roleHeading":"Structure"},"abstract":[{"text":"A standard error type.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/marvelservice\/components\/schemas\/standarderror"]}],"references":{"doc://MarvelService/documentation/MarvelService/Components/Schemas/StandardError/init(code:reason:)":{"type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/init(code:reason:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"code","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"reason","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"url":"\/documentation\/marvelservice\/components\/schemas\/standarderror\/init(code:reason:)","title":"init(code:reason:)","kind":"symbol","role":"symbol","abstract":[{"text":"Creates a new ","type":"text"},{"code":"StandardError","type":"codeVoice"},{"text":".","type":"text"}]},"doc://MarvelService/documentation/MarvelService/Components/Schemas/StandardError/init(from:)":{"type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/marvelservice\/components\/schemas\/standarderror\/init(from:)","title":"init(from:)","kind":"symbol","role":"symbol","abstract":[]},"doc://MarvelService/documentation/MarvelService/Components/Schemas/StandardError/Equatable-Implementations":{"type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/Equatable-Implementations","url":"\/documentation\/marvelservice\/components\/schemas\/standarderror\/equatable-implementations","title":"Equatable Implementations","kind":"article","role":"collectionGroup","abstract":[]},"doc://MarvelService/documentation/MarvelService/Components":{"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Components"}],"abstract":[{"type":"text","text":"Types generated from the components section of the OpenAPI document."}],"navigatorTitle":[{"kind":"identifier","text":"Components"}],"kind":"symbol","role":"symbol","title":"Components","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components","url":"\/documentation\/marvelservice\/components"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/StandardError/reason":{"type":"topic","url":"\/documentation\/marvelservice\/components\/schemas\/standarderror\/reason","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/reason","kind":"symbol","role":"symbol","title":"reason","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"reason"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"abstract":[{"text":"A human readable message providing more details about the error.","type":"text"}]},"doc://MarvelService/documentation/MarvelService/Components/Schemas/StandardError/code":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/code","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"code","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"url":"\/documentation\/marvelservice\/components\/schemas\/standarderror\/code","title":"code","kind":"symbol","role":"symbol","abstract":[{"type":"text","text":"The HTTP status code of the returned result."}]},"doc://MarvelService/SH":{"title":"Swift.Hashable","type":"unresolvable","identifier":"doc:\/\/MarvelService\/SH"},"doc://MarvelService/documentation/MarvelService":{"url":"\/documentation\/marvelservice","kind":"symbol","title":"MarvelService","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService","role":"collection","type":"topic","abstract":[{"text":"A library that allows the developer to interact with the ","type":"text"},{"type":"strong","inlineContent":[{"text":"Marvel Comics API","type":"text"}]},{"text":" backend service.","type":"text"}]},"doc://MarvelService/Se":{"title":"Swift.Decodable","type":"unresolvable","identifier":"doc:\/\/MarvelService\/Se"},"doc://MarvelService/documentation/MarvelService/Components/Schemas":{"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Schemas"}],"abstract":[{"type":"text","text":"Types generated from the "},{"type":"codeVoice","code":"#\/components\/schemas"},{"type":"text","text":" section of the OpenAPI document."}],"navigatorTitle":[{"kind":"identifier","text":"Schemas"}],"kind":"symbol","role":"symbol","title":"Components.Schemas","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas","url":"\/documentation\/marvelservice\/components\/schemas"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/StandardError":{"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"StandardError"}],"abstract":[{"type":"text","text":"A standard error type."}],"navigatorTitle":[{"kind":"identifier","text":"StandardError"}],"kind":"symbol","role":"symbol","title":"Components.Schemas.StandardError","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError","url":"\/documentation\/marvelservice\/components\/schemas\/standarderror"},"doc://MarvelService/s16SendableMetatypeP":{"title":"Swift.SendableMetatype","type":"unresolvable","identifier":"doc:\/\/MarvelService\/s16SendableMetatypeP"},"doc://MarvelService/SQ":{"title":"Swift.Equatable","type":"unresolvable","identifier":"doc:\/\/MarvelService\/SQ"},"doc://MarvelService/SE":{"title":"Swift.Encodable","type":"unresolvable","identifier":"doc:\/\/MarvelService\/SE"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/StandardError/CodingKeys":{"url":"\/documentation\/marvelservice\/components\/schemas\/standarderror\/codingkeys","type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StandardError\/CodingKeys","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"CodingKeys"}],"role":"symbol","title":"Components.Schemas.StandardError.CodingKeys","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodingKeys"}],"abstract":[]},"doc://MarvelService/s8SendableP":{"title":"Swift.Sendable","type":"unresolvable","identifier":"doc:\/\/MarvelService\/s8SendableP"}}} |