Finalize finalizes all the service methods and errors.
()
| 96 | |
| 97 | // Finalize finalizes all the service methods and errors. |
| 98 | func (s *ServiceExpr) Finalize() { |
| 99 | for _, e := range s.Errors { |
| 100 | e.Finalize() |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | // Validate checks that the error name is found in the result meta for |
| 105 | // custom error types. |