Skip to content

upgrade errors package #237

upgrade errors package

upgrade errors package #237

Triggered via push January 22, 2025 18:26
Status Failure
Total duration 31s
Artifacts

build.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: codes.go#L108
cannot use (*CodedError)(nil) (value of type *CodedError) as ErrorCode value in variable declaration: *CodedError does not implement ErrorCode (missing method Error) (typecheck)
lint: codes.go#L109
cannot use (*CodedError)(nil) (value of type *CodedError) as unwrapError value in variable declaration: *CodedError does not implement unwrapError (missing method Unwrap) (typecheck)
lint: codes.go#L127
cannot use (*invalidInputErr)(nil) (value of type *invalidInputErr) as ErrorCode value in variable declaration: *invalidInputErr does not implement ErrorCode (missing method Error) (typecheck)
lint: codes.go#L128
cannot use (*invalidInputErr)(nil) (value of type *invalidInputErr) as unwrapError value in variable declaration: *invalidInputErr does not implement unwrapError (missing method Unwrap) (typecheck)
lint: codes.go#L213
cannot use (*NotFoundErr)(nil) (value of type *NotFoundErr) as ErrorCode value in variable declaration: *NotFoundErr does not implement ErrorCode (missing method Error) (typecheck)
lint: codes.go#L214
cannot use (*NotFoundErr)(nil) (value of type *NotFoundErr) as unwrapError value in variable declaration: *NotFoundErr does not implement unwrapError (missing method Unwrap) (typecheck)
lint: codes.go#L226
cannot use (*NotAuthenticatedErr)(nil) (value of type *NotAuthenticatedErr) as ErrorCode value in variable declaration: *NotAuthenticatedErr does not implement ErrorCode (missing method Error) (typecheck)
lint: codes.go#L227
cannot use (*NotAuthenticatedErr)(nil) (value of type *NotAuthenticatedErr) as unwrapError value in variable declaration: *NotAuthenticatedErr does not implement unwrapError (missing method Unwrap) (typecheck)
lint: codes.go#L239
cannot use (*ForbiddenErr)(nil) (value of type *ForbiddenErr) as ErrorCode value in variable declaration: *ForbiddenErr does not implement ErrorCode (missing method Error) (typecheck)
lint: codes.go#L240
cannot use (*ForbiddenErr)(nil) (value of type *ForbiddenErr) as unwrapError value in variable declaration: *ForbiddenErr does not implement unwrapError (missing method Unwrap) (typecheck)
govulncheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636