Skip to content

Error Code 0.1.0

Choose a tag to compare

@merge-simpson merge-simpson released this 19 Sep 18:48
· 44 commits to main since this release

Features

  • Contains the BaseErrorCode interface and the BaseCustomException class, which can be used without a framework.
  • Contains the interface ErrorCode and the class CustomException and can be used with the Spring framework.
  • Use BaseErrorCode or ErrorCode to implement a categorized error code enum class.
    • For example, you can differentiate SignUpErrorCodes and PaymentErrorCodes with each error code enum class.
    • At the same time, you don't need to handle those error codes with each exception class; the interface allows you to handle them in one way.