Skip to content

Use media handlers to serialize errors by accepted content type

Codecov / codecov/patch failed Dec 3, 2023 in 0s

73.07% of diff hit (target 100.00%)

View this Pull Request on Codecov

73.07% of diff hit (target 100.00%)

Annotations

Check warning on line 232 in falcon/app_helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/app_helpers.py#L232

Added line #L232 was not covered by tests

Check warning on line 235 in falcon/app_helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/app_helpers.py#L235

Added line #L235 was not covered by tests

Check warning on line 239 in falcon/app_helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/app_helpers.py#L239

Added line #L239 was not covered by tests

Check warning on line 241 in falcon/app_helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/app_helpers.py#L241

Added line #L241 was not covered by tests

Check warning on line 245 in falcon/app_helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/app_helpers.py#L245

Added line #L245 was not covered by tests

Check warning on line 247 in falcon/app_helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/app_helpers.py#L247

Added line #L247 was not covered by tests

Check warning on line 253 in falcon/app_helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/app_helpers.py#L251-L253

Added lines #L251 - L253 were not covered by tests

Check warning on line 272 in falcon/app_helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/app_helpers.py#L272

Added line #L272 was not covered by tests

Check warning on line 86 in falcon/forwarded.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/forwarded.py#L83-L86

Added lines #L83 - L86 were not covered by tests

Check warning on line 275 in falcon/hooks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/hooks.py#L274-L275

Added lines #L274 - L275 were not covered by tests

Check warning on line 333 in falcon/hooks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/hooks.py#L333

Added line #L333 was not covered by tests

Check warning on line 348 in falcon/hooks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/hooks.py#L347-L348

Added lines #L347 - L348 were not covered by tests

Check warning on line 145 in falcon/http_error.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/http_error.py#L145

Added line #L145 was not covered by tests

Check warning on line 145 in falcon/inspect.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/inspect.py#L145

Added line #L145 was not covered by tests

Check warning on line 165 in falcon/inspect.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/inspect.py#L165

Added line #L165 was not covered by tests

Check warning on line 204 in falcon/inspect.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/inspect.py#L204

Added line #L204 was not covered by tests

Check warning on line 206 in falcon/inspect.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/inspect.py#L206

Added line #L206 was not covered by tests

Check warning on line 228 in falcon/inspect.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/inspect.py#L228

Added line #L228 was not covered by tests

Check warning on line 242 in falcon/inspect.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/inspect.py#L242

Added line #L242 was not covered by tests

Check warning on line 251 in falcon/inspect.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/inspect.py#L251

Added line #L251 was not covered by tests

Check warning on line 625 in falcon/inspect.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/inspect.py#L625

Added line #L625 was not covered by tests

Check warning on line 794 in falcon/inspect.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/inspect.py#L794

Added line #L794 was not covered by tests

Check warning on line 807 in falcon/inspect.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/inspect.py#L807

Added line #L807 was not covered by tests

Check warning on line 68 in falcon/testing/resource.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/testing/resource.py#L65-L68

Added lines #L65 - L68 were not covered by tests

Check warning on line 71 in falcon/testing/resource.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/testing/resource.py#L70-L71

Added lines #L70 - L71 were not covered by tests