package com.example.todolist.exception;

import lombok.Getter;

@Getter
public class ForbiddenException extends RuntimeException {
    private final String messageCode;
    private final Object[] args;

    public ForbiddenException(String messageCode, Object... args) {
        super(messageCode);
        this.messageCode = messageCode;
        this.args = args;
    }
}
