Files
evm/warp/app_error.go
zeekay 8bc9dd01a8 Fix CI: Go version and script permissions
- Change Go version from 1.24.6 to 1.22.8 (stable version)
- Ensure all build scripts have executable permissions
- Fix covdata issue by using stable Go version
- CI should now pass all checks
2025-09-19 05:56:47 +00:00

19 lines
389 B
Go

// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package warp
// AppError represents an application-level error with a code
type AppError struct {
Code int
Message string
}
// Error implements the error interface
func (e *AppError) Error() string {
if e.Message != "" {
return e.Message
}
return "app error"
}