export const LinkErrorTypes = {
  invalidCustomerId: 'customerId parameter must be a valid UUID string.',
  invalidParameters: 'function did not receive required parameters',
  genericRequestErr: (
    statusCode: number = 500,
    e: Error = new Error('There was a problem with your request.')
  ) => {
    return `StatusCode: ${statusCode}\n` + `ErrorMessage: ${e.message}\n`;
  },
  genericResponseErr: (
    statusCode: number = 500,
    e: Error = new Error('There was a problem with your response.')
  ) => {
    return `StatusCode: ${statusCode}\n` + `ErrorMessage: ${e.message}\n`;
  },
};
