import type { ProblemJson } from '../types'; export const NO_BASE_URL_ERROR: Omit = { title: 'Attempted to make a request to a server but neither baseUrl param provided nor servers defined in the spec', type: 'NO_BASE_URL_ERROR', status: 400, }; export const NO_RESOURCE_PROVIDED_ERROR: Omit = { title: 'Route not resolved, no resource provided', type: 'NO_RESOURCE_PROVIDED_ERROR', status: 404, }; export const NO_PATH_MATCHED_ERROR: Omit = { title: 'Route not resolved, no path matched', type: 'NO_PATH_MATCHED_ERROR', status: 404, }; export const NO_SERVER_MATCHED_ERROR: Omit = { title: 'Route not resolved, no server matched', type: 'NO_SERVER_MATCHED_ERROR', status: 404, }; export const NO_METHOD_MATCHED_ERROR: Omit = { title: 'Route resolved, but no method matched', type: 'NO_METHOD_MATCHED_ERROR', status: 405, }; export const NO_SERVER_CONFIGURATION_PROVIDED_ERROR: Omit = { title: 'Route not resolved, no server configuration provided', type: 'NO_SERVER_CONFIGURATION_PROVIDED_ERROR', status: 404, };