Skip to content

Commit

Permalink
#664 make wlsError properties readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
vjohnslhm committed Dec 16, 2024
1 parent c272389 commit c89d35e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wls-gui-wahllokalsystem/src/api/WLSError.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { STATUS_INDICATORS } from "@/constants";

export default class WLSError extends Error {
level: string;
category: string;
code: string;
service: string;
readonly level: string;
readonly category: string;
readonly code: string;
readonly service: string;

constructor({
level = STATUS_INDICATORS.ERROR,
Expand Down

0 comments on commit c89d35e

Please sign in to comment.