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