Open Closed

API Error handling and custom 404 pages #2407


User avatar
0
steve.burgess created
  • ABP Framework version: 4.4.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi,

I have a couple of questions around error handling. I currently have an angular frontend with a REST API backend

I’m attempting to disable the default error handling for my APIs in the angular frontend.

It appears that you can pass “skipHandleError: true” to the RestService to achieve this. However, I’m automatically generating the service proxies using the abp suite with “abp generate-proxy”. Is there any way to tell this auto generation to set skipHandleError to true?

I’m also struggling to create a custom 404 page. Are there any examples of how to do this?

Thanks,

Steve.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    bunyamin created

    Hello,

    You can follow the instructions in the docs

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    steve.burgess created

    Wow, not sure how i managed to miss that.

    Thanks for pointing me in the right direction.

    Cheers,

    Steve.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    bunyamin created

    No problem :)

    Have a good one Bunyamin

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.