munierujp / aws-lambda-ts-architecture-example

Architecture for AWS Lambda with TypeScript
MIT License
0 stars 0 forks source link

Follow RFC 7807 as error response format #5

Open munierujp opened 3 years ago

munierujp commented 3 years ago

Follow RFC 7807 as error response format

munierujp commented 3 years ago
/**
* @see https://tools.ietf.org/html/rfc7807
*/
interface Problem {
  type: string
  title: string
  detail?: string
}