mirror of
https://github.com/tursom/GoCollections.git
synced 2025-03-13 17:00:18 +08:00
16 lines
339 B
Go
16 lines
339 B
Go
package exceptions
|
|
|
|
type IllegalParameterException struct {
|
|
RuntimeException
|
|
}
|
|
|
|
func NewIllegalParameterException(message any, config *ExceptionConfig) *IllegalParameterException {
|
|
return &IllegalParameterException{
|
|
NewRuntimeException(
|
|
message,
|
|
"exception caused ElementNotFoundException:",
|
|
config.AddSkipStack(1),
|
|
),
|
|
}
|
|
}
|