Files
RayLab-Core/src/core/exceptions

core/exceptions/

Penjelasan: Berisi global exception filters dan custom exception classes.

Isi yang direkomendasikan:

  • http-exception.filter.ts
  • domain-exception.ts (custom domain exception base)

Aturan:

  • Exception filter mengubah exception menjadi response standar API.
  • Gunakan kode error konsisten (error code constant) agar client dapat menangani error.