Closed ronaldtse closed 1 year ago
I think we need to implement a list that says what stages are not allowed: https://www.iso.org/files/live/sites/isoorg/files/developing_standards/docs/en/stage_codes.pdf
All these empty boxes should not be allowed to be used to create stages:
If someone attempts to use those stages, a HarmonizedStageCodeInvalidError should definitely be thrown.
HarmonizedStageCodeInvalidError
Originally posted by @ronaldtse in https://github.com/metanorma/pubid-iec/issues/112#issuecomment-1605240312
@ronaldtse this is already implemented here https://github.com/metanorma/pubid-core/blob/main/spec/pubid_core/harmonized_stage_code_spec.rb#L60-L72
Thank you @mico !
I think we need to implement a list that says what stages are not allowed: https://www.iso.org/files/live/sites/isoorg/files/developing_standards/docs/en/stage_codes.pdf
All these empty boxes should not be allowed to be used to create stages:
If someone attempts to use those stages, a
HarmonizedStageCodeInvalidError
should definitely be thrown.Originally posted by @ronaldtse in https://github.com/metanorma/pubid-iec/issues/112#issuecomment-1605240312