Error map
Missing argument for parameter / Extra argument in call error: Missing argument for parameter 'id' in call
iOS · layer 1, On your device
Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (12)
Swift: Cannot convert value of type 'X' to expected argument type 'Y'
The value’s type doesn’t match what the function or property expects.
Swift: Type of expression is ambiguous without a type annotation (more context)
The compiler can’t infer which type you mean — often because of a typo or a wrong argument elsewhere in the expression.
error: 'nil' requires a contextual type
Swift can't infer the type of a bare `nil`.
error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification
Git can sign with SSH, but verifying needs an allowed-signers file.
error: Type 'User' does not conform to protocol 'Decodable'
A type doesn't satisfy a protocol's requirements.
error: Value of optional type 'String?' must be unwrapped to a value of type 'String'
You used an optional where a non-optional value is required.
error: Missing return in a function expected to return 'Int'
A code path in your function ends without returning a value.
error: Switch must be exhaustive / add missing case: '.pending'
A `switch` doesn't cover every enum case.
error: Cannot find 'viewModel' in scope
The name isn't visible where you use it.
error: Use of unresolved identifier 'ProfileView'
Older compilers' wording for "cannot find in scope".
error: cannot use instance member 'x' as a default parameter
Default parameter values can't reference `self`.
warning: result of call to 'foo()' is unused
A function returns a value you ignore.
Two steps away (28)
AttributeError: 'X' object has no attribute 'y'
You accessed an attribute or method that doesn’t exist on that object type.
java.lang.ClassCastException: class A cannot be cast to class B
An object was cast to a type it isn’t.
TS7016: Could not find a declaration file for module 'x'. 'x.js' implicitly has an 'any' type.
The JavaScript package has no TypeScript types bundled and no @types package installed.
error CS0246: The type or namespace name 'X' could not be found (are you missing a using directive or an assembly reference?)
The compiler doesn’t know the type — missing using, missing NuGet package/project reference, or a target framework mismatch.
error CS0103: The name 'x' does not exist in the current context
The identifier isn’t declared in scope — typo, variable declared in another block, missing using static, or a Razor/partial class…
error CS1061: 'X' does not contain a definition for 'Y' and no accessible extension method 'Y' accepting a first argument of type 'X' could be found
The member you call doesn’t exist on that type — typo, wrong type, missing using for an extension method, or an API removed in a…
error: argument of '#selector' refers to instance method 'tap()' that is not exposed to Objective-C
A Swift method used as a selector needs `@objc`.
Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: self.label
An outlet was used before the view loaded or isn't connected.
error: 'when' expression must be exhaustive, add necessary 'is Loading' branch or 'else' branch instead
A `when` used as an expression doesn't cover all sealed subclasses.
error: gpg failed to sign the data — fatal: failed to write commit object
Commit signing is enabled but GPG couldn’t sign — no TTY for the passphrase, wrong key, or agent not running.
openssl verify error:num=9:certificate is not yet valid
The certificate's notBefore date is in the future from the verifier's point of view.
git: 'credential-manager-core' is not a git command. See 'git --help'.
The configured credential helper isn't installed.
Swift DecodingError: keyNotFound / typeMismatch / valueNotFound / dataCorrupted
JSONDecoder couldn’t map the JSON to your Codable type — a key is missing, a value has a different type or is null, or the data i…
fatal: protocol error: bad pack header
Git received garbage instead of a pack, from a proxy or broken server.
Expected date string to be ISO8601-formatted. codingPath: [CodingKeys(stringValue: "createdAt")]
The date string doesn't match the decoder's strategy.
Fatal error: Unexpectedly found nil while unwrapping an Optional value
Swift force-unwrapped (`!`) an optional that was nil, crashing the app.
error: ambiguous use of 'init(content:)'
Overloads match the call equally.
error: 'init' is inaccessible due to 'internal' protection level
A type's initializer isn't visible to the caller's module.
Networking: Duplex mismatch — late collisions, runts and CRC errors on the switch port
One side runs full duplex and the other half duplex, so the link works but is slow and drops packets.
Networking: %CDP-4-NATIVE_VLAN_MISMATCH / device on the wrong VLAN can't reach the gateway
A port or trunk carries a different VLAN than expected, so hosts silently land on the wrong network.
Networking: %SW_MATM-4-MACFLAP_NOTIF: Host is flapping between ports / broadcast storm
A layer-2 loop is making frames circle the network, saturating links and making the whole VLAN crawl.
Swift: Fatal error: Index out of range
Code accessed an array index that doesn’t exist — empty arrays, off-by-one loops, or data changing while a table reloads.
Swift: Could not cast value of type 'X' to 'Y'
A force cast (as!) failed because the object isn’t the expected type.
Swift: No such module 'X' (module not found)
Xcode can’t find a Swift package, pod or framework you import.
Swift: 'X' is only available in iOS 16.0 or newer
You used an API that requires a newer iOS than your deployment target.
Swift: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
A long expression (often in a SwiftUI body) has too many possible type combinations for the compiler — or hides a type error.
Swift: Escaping closure captures mutating 'self' parameter
A mutating method of a struct tries to capture self in an escaping closure, which Swift forbids.
Publishing changes from within view updates is not allowed, this will cause undefined behavior.
A published value changed during view rendering.