Error
public enum Error
A set of errors that may be encountered at run-time when interacting with a recored HTTP interaction.
-
During VCR playback an attempt was made to match the
URLRequestprovided in the associated value. However, noTrackcould be found that matched the request.Note
This error is only expected when using a custom matcher.Declaration
Swift
case recordNotFound(for: URLRequest)
-
The VHS library was unable to find the resource provided in the associated value while attempting to load a
Cassettefixture.Declaration
Swift
case missing(resource: String)
-
The fixture resource provided in the associated value is improperly formatted.
Declaration
Swift
case invalidFormat(resource: String)
Error Enum Reference