Skip to content

Feature/logging Adding logging functionality to the application #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Feature: Adding all messages for response
  • Loading branch information
harshil15999 committed May 6, 2024
commit 91bd0be928873b9349ac29d3ab90456e39d2afc5
12 changes: 12 additions & 0 deletions src/main/java/com/example/easynotes/exception/Messages.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.example.easynotes.exception;

import org.springframework.stereotype.Component;

@Component
public class Messages {
public final String FileNotFound="File Not Found";
public final String InvalidFileName="Invalid FileName";
public final String SuccessFullyUploaded="File uploaded successfully";
public final String ErrorSavingFile ="Error saving the file";
public final String FileLimit=" File must be not empty and less than 2Gb";
}