Creates a new SpecMismatchException.
The Specs that were expected.
The key of the Specs for which the mismatch occurred, if any.
The expected SpecTypeName.
The actual value that was generated.
The actual value that was generated.
Optional causeReadonly codeThe code for the exception (one of GenerateExceptionTypes).
The expected SpecTypeName.
The key of the Specs for which the mismatch occurred, if any.
Optional Readonly metaAdditional metadata for the exception.
The Specs that were expected.
Optional stackStatic Optional prepareOptional override for formatting stack traces
Static stackStatic captureGenerated using TypeDoc
An exception that can be thrown while generate-ing if the output does not match the expected Specs.