type AccumulatedCopySizeError … // NewAccumulatedCopySizeError returns an AccumulatedCopySizeError. func NewAccumulatedCopySizeError(l, a int64) *AccumulatedCopySizeError { … } // Error implements the error interface. func (a *AccumulatedCopySizeError) Error() string { … } type ArraySizeError … // NewArraySizeError returns an ArraySizeError. func NewArraySizeError(l, s int) *ArraySizeError { … } // Error implements the error interface. func (a *ArraySizeError) Error() string { … }