Skip to content

Commit

Permalink
Fix wrong docs JC-674
Browse files Browse the repository at this point in the history
  • Loading branch information
manpham-saritasa committed Sep 7, 2024
1 parent b96cec0 commit 1867a69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/core/dtos/api-error-response.dto.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ApiErrorDto } from './api-error.dto';

/** API error DTO. */
/** API error response DTO. */
export type ApiErrorResponseDto = {

/** Type. */
Expand Down
3 changes: 2 additions & 1 deletion libs/core/models/api-error-response.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ApiError } from './api-error';
import { Immerable, OmitImmerable } from './immerable';

/** API error. */
/** API error response. */
export class ApiErrorResponse extends Immerable {

/** Array of error details. */
Expand All @@ -17,6 +17,7 @@ type TApiErrorResponse = OmitImmerable<ApiErrorResponse>;

/** The API response which implements Error interface. */
export class ApiErrorResponseWithDetails extends ApiErrorResponse implements Error {

/** Error name. */
public readonly name: string;

Expand Down

0 comments on commit 1867a69

Please sign in to comment.