Skip to content

Instantly share code, notes, and snippets.

Created November 3, 2021 21:20
What would you like to do?
const mappers: HttpProblemExtensionMapper[] = [
type: '',
map: (object: any) =>
new ProblemDocumentExtension({
'invalid-params': object['invalid-params']
const problemDetails = fromJSON(status400JSON, mappers);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment