cleanup error messages

This commit is contained in:
Joel Wetzell
2025-12-20 07:50:22 -06:00
parent d32d23041b
commit fb9c0bc657
5 changed files with 13 additions and 13 deletions

View File

@@ -50,7 +50,7 @@ func init() {
method, ok := params["method"]
if !ok {
return nil, fmt.Errorf("http.request.create requires an method parameter")
return nil, fmt.Errorf("http.request.create requires a method parameter")
}
methodString, ok := method.(string)
@@ -62,7 +62,7 @@ func init() {
url, ok := params["url"]
if !ok {
return nil, fmt.Errorf("http.request.create requires an url parameter")
return nil, fmt.Errorf("http.request.create requires a url parameter")
}
urlString, ok := url.(string)